package alexattar.gdxtest;

public class Level {

	private final int id;
	private String name;
	private boolean completed;
	private Level nextLevel;
	
	public Level(int id) {
		this.id = id;
	}
	
	public int getId() {
		return id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public boolean isCompleted() {
		return completed;
	}
	
	public void setCompleted(boolean completed) {
		this.completed = completed;
	}
	
	public Level getNextLevel() {
		return nextLevel;
	}
	
	public void setNextLevel(Level nextLevel) {
		this.nextLevel = nextLevel;
	}
	
	public boolean hasNextLevel() {
		return nextLevel == null;
	}	

}
